<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <title>成功企业家俱乐部</title>
    <link rel="stylesheet" href="css/base.css"/>
    <link rel="stylesheet" href="css/X1Common.css"/>
    <link rel="stylesheet" href="css/gIntroduce.css"/>
    <script src="js/jquery-1.7.2.js"></script>
    <!--<script type="text/javascript" src="js/controller/comment/jquery.cookie.js"></script>-->
    <script type="text/javascript" src="js/controller/comment/template.js"></script>
    <!--<script type="text/javascript" src="js/controller/comment/jQuery-artTemplate-wty.js"></script>-->
    <script type="text/javascript" src="js/controller/comment/laypage.js"></script>
    <script type="text/javascript" src="js/controller/comment/page.js"></script>
    <script src="js/X1Common.js"></script>

    <script>
        $(function(){
            var url=location.search;
            var Request = new Object();
            if(url.indexOf("?")!=-1){
                var str = url.substr(1);　//去掉?号
                strs = str.split("&");
                for(var i=0;i<strs.length;i++){
                    Request[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);
                }
            }
            var id = Request["id"];


            $.ajax({
                url: "hxclub/vipUser/byIdContent.do",
                async: false,
                type: "get",
                dataType: "json",
                data: {"id": id },
                success: function (data) {

                    var $varietyContent = $('#member'), varietyHtml = template('memberDetail', data);
                    $varietyContent.html(varietyHtml);
                    $(".job").html($(".job").text().split('*').join("</br>"));
                }
            });
//            geetdata("../hxclub/vipUser/byIdContent.do", {
//                id:id
//            }, "#member", "memberDetail", "xinwenzhongxin", false, function(){
//                $(".job").html($(".job").text().split('*').join("</br>"));
//            });
        });
    </script>
</head>
<body id="xPageSH" style="display: none;">
<!--填充头部部分做准备-->

<div class="head" id="head">

</div>
<div class="gContent" id="member">
    <script type="text/html" id="memberDetail">
        {{each data as value i}}
        <div class="top">
            <div class="gImg">
                <!--<img src="images/gImg.jpg" alt=""/>-->
                <img src="{{value.headImg}}" alt="图片"/>
            </div>
            <h2 class="name">{{value.name}}</h2>
            <!--<p class="job">北京智慧科技有限公司CEO</p>-->
            <p class="job">{{value.job}}</p>
        </div>
        <span class="gborder">>>个人简介</span>
        <div class="detail">{{#value.persionsummary}}</div>
        <span class="gborder">>>单位介绍</span>
        <div class="detail">{{#value.companysummary}}</div>
        {{/each}}
    </script>

</div>
<!--填充底部导航使用-->
<div id="footer">

</div>
<!--添加页面头部部分-->
<script>
    $.ajax({
        url:"l_heade.html",
        async:false,
        success:function(html){
            $("#head").append(html);
        }
    })
</script>
<!--添加页面底部导航-->
<script>
    $.ajax({
        url:"l_footer.html",
        async:false,
        success:function(html){
            $("#footer").append(html);
        }
    })
</script>
</body>
</html>